<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs for page statistics.func.php</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="file-name">/includes/statistics_functions/statistics.func.php</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
									<a href="#sec-includes">Includes</a>
			|											<a href="#sec-functions">Functions</a>
			</div>
	<div class="info-box-body">	
		<!-- ========== Info from phpDoc block ========= -->
		
			</div>
</div>
		

	<a name="sec-includes"></a>	
	<div class="info-box">
		<div class="info-box-title">Includes</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Includes</span>
			|													<a href="#sec-functions">Functions</a>
					</div>
		<div class="info-box-body">	
			<a name="_/var/www/gde-1_0/htdocs/config_php"><!-- --></a>
<div class="evenrow">
	
	<div>
		<span class="include-title">
			<span class="include-type">include_once</span>
			(<span class="include-name">'/var/www/gde-1.0/htdocs/config.php'</span>)
			(line <span class="line-number">25</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
</div>
<a name="_Config::base_path_Config::database_path_database_php"><!-- --></a>
<div class="oddrow">
	
	<div>
		<span class="include-title">
			<span class="include-type">include_once</span>
			(<span class="include-name"><a href="../default/_includes_database_database_php.html">database.php</a></span>)
			(line <span class="line-number">27</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
</div>
<a name="_Config::base_path_Config::adodb_path_adodb-exceptions_inc_php"><!-- --></a>
<div class="evenrow">
	
	<div>
		<span class="include-title">
			<span class="include-type">include_once</span>
			(<span class="include-name">Config::base_path.Config::adodb_path.'adodb-exceptions.inc.php'</span>)
			(line <span class="line-number">29</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
</div>
		</div>
	</div>
	
	
	
	<a name="sec-functions"></a>	
	<div class="info-box">
		<div class="info-box-title">Functions</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-includes">Includes</a>
				|												<span class="disabled">Functions</span>
		</div>
		<div class="info-box-body">	
			<a name="functionrecordAvgSize" id="functionrecordAvgSize"><!-- --></a>
<div class="oddrow">
	
	<div>
		<span class="method-title">recordAvgSize</span> (line <span class="line-number">105</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the average single record size in a table for statical purposes in bytes</p>
	<ul class="tags">
				<li><span class="field">return:</span> - records size in bytes</li>
				<li><span class="field">author:</span> Demetrios Dimatos</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">integer</span>
		<span class="method-name">
			recordAvgSize
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$databaseName</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$table</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$connection_type</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$number_of_records</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$databaseName</span><span class="var-description">: - name of database to query</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$table</span><span class="var-description">: - name of table to query</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$connection_type</span><span class="var-description">: - BACKEND or DOMAIN_SPECIFIC to determine where to do the query</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$number_of_records</span>			</li>
				</ul>
		
	
</div>
<a name="functionrecordCount" id="functionrecordCount"><!-- --></a>
<div class="evenrow">
	
	<div>
		<span class="method-title">recordCount</span> (line <span class="line-number">40</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the number of records in a table</p>
	<ul class="tags">
				<li><span class="field">return:</span> - number for records in a table</li>
				<li><span class="field">author:</span> Demetrios Dimatos</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">integer</span>
		<span class="method-name">
			recordCount
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$databaseName</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$table</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$connection_type</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$databaseName</span><span class="var-description">: - name of the database which to query</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$table</span><span class="var-description">: - table needing the number of records from</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$connection_type</span><span class="var-description">: - BACKEND or DOMAIN_SPECIFIC to determine where to do the query</span>			</li>
				</ul>
		
	
</div>
<a name="functionrecordSumSize" id="functionrecordSumSize"><!-- --></a>
<div class="oddrow">
	
	<div>
		<span class="method-title">recordSumSize</span> (line <span class="line-number">150</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns teh sum of all records in a talbe in bytes</p>
	<ul class="tags">
				<li><span class="field">return:</span> - sum of all records in bytes</li>
				<li><span class="field">author:</span> Demetrios Dimatos</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">integer</span>
		<span class="method-name">
			recordSumSize
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$average</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$number_of_records</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$average</span><span class="var-description">: - average size of a record in bytes</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$number_of_records</span><span class="var-description">: - count of records for a table</span>			</li>
				</ul>
		
	
</div>
<a name="functionstrlen_utf8" id="functionstrlen_utf8"><!-- --></a>
<div class="evenrow">
	
	<div>
		<span class="method-title">strlen_utf8</span> (line <span class="line-number">69</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Alternative function for returning the length of a string for  UTF-8 strings that  doesn't access the byte past end of the string</p>
	<ul class="tags">
				<li><span class="field">return:</span> - size of the string</li>
				<li><span class="field">author:</span> Unknown</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">integer</span>
		<span class="method-name">
			strlen_utf8
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$str</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$str</span><span class="var-description">: - string to determine length</span>			</li>
				</ul>
		
	
</div>
		</div>
	</div>
	
	<p class="notes" id="credit">
		Documentation generated on Fri, 20 Oct 2006 00:33:15 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC3</a>
	</p>
	</div></body>
</html>